import { IPortletAbility } from '../ability';
import { PortletActionType } from '../event';
import { IDECtrlControllerParams } from './i-de-ctrl-controller-params';

/**
 * 向导面板部件控制器输入参数接口
 *
 * @export
 * @interface IPortletControllerParams
 * @extends {(IDECtrlControllerParams<T | PortletActionType, A>)}
 * @template T
 * @template A
 */
export type IPortletControllerParams<
	T,
	A extends IPortletAbility
> = IDECtrlControllerParams<T | PortletActionType, A>;
